home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4596 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  666 b 

  1. Path: uwm.edu!caen!cjlin
  2. From: cjlin@news-server.engin.umich.edu (Chih-Jen Lin)
  3. Newsgroups: comp.lang.c
  4. Subject: time spent on memory allocation
  5. Date: 6 Feb 1996 00:55:47 GMT
  6. Organization: University of Michigan Engineering, Ann Arbor
  7. Message-ID: <4f68uj$nih@srvr1.engin.umich.edu>
  8. NNTP-Posting-Host: cjlin@mannix.engin.umich.edu
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. Dear friends :
  12.  
  13. An advantage of pointer is it saves time to pass 
  14. structure vraiables. However, to allocate and free
  15. memory too frequently also takes a lot of time. Comparing to
  16. a floating point operation, does this cost much or not ?
  17. Hope you can give me some ideas.
  18.  
  19. Thanks in adcance.
  20.  
  21. Chih-Jen 
  22.